package com.atxwq.shop.product.mapper;

import com.atxwq.shop.model.dto.product.ProductSkuDto;
import com.atxwq.shop.model.entity.product.ProductSku;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description TODO
 * @Date 2025/5/18 13:47
 * @Created by 12336
 */

@Mapper
public interface ProductSkuMapper {
    /**
     * 查询所有sku商品
     * @return
     */
    List<ProductSku> selectSkuProductList();

    List<ProductSku> findByPage(ProductSkuDto productSkuDto);

    /**
     * 获取当前sku信息
     * @param skuId
     * @return
     */
    ProductSku getById(Long skuId);
}
